package top.boycharse.factory.presenter.account;

import androidx.annotation.StringRes;

import top.boycharse.factory.presenter.BaseContract;

public class RegisterContract {
    public interface View extends BaseContract.View<Presenter> {
        // 注册成功
        void registerSuccess();
    }

    public interface Presenter extends BaseContract.Presenter{
        // 发起一个注册
        void register(String phone, String name, String password);

        // 检查手机号是否正确
        boolean checkMobile(String phone);
    }
}
